package RandomAccessFile;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
 * 读取基本类型数据
 */
public class RandomAccessFileDemo8 {
	public static void main(String[] args) throws IOException {
		RandomAccessFile raf=new RandomAccessFile("raf.dat","r");
		int i=raf.readInt();
		System.out.println(i);
		raf.close();
	}
}
